#ifndef __SLOTHTTPD_CONFIG_LOCATION_CREATE_HPP__
#define __SLOTHTTPD_CONFIG_LOCATION_CREATE_HPP__

#include <slothttpd/config/location/base_location.hpp>

#include <string>

#include <boost/property_tree/ptree.hpp>

namespace slothttpd {
namespace config {

class server;

location_ptr create_location(const std::string &name,
                             const boost::property_tree::ptree &node,
                             server &s);

}
}

#endif
